//创建Tabbar_isFold小仓库
import { defineStore } from 'pinia'
const useSettingStore = defineStore('setting', {
  state: () => {
    return {
      isFold: false,
      isRefresh: false,
    }
  },
  actions: {
    //没有返回值的话, 默认返回一个成功Promise,undefine
    changeIcon() {
      this.isFold = !this.isFold
    },
    UpdatedRefresh() {
      this.isRefresh = !this.isRefresh
    },
  },
  getters: {},
})
export default useSettingStore
